package com.iot08.api.vo.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @version 1.0
 * @Description:
 * @time: 2021/5/8 18:38
 * @author: Rock
 */
@Data
public class BindDeviceReqVO {

    @NotEmpty(message = "参数openid不能为空")
    private String openid;

    @NotEmpty(message = "参数imei不能为空")
    private String imei;

    @NotEmpty(message = "参数accesstoken不能为空")
    private String accesstoken;

    @NotEmpty(message = "参数phone不能为空")
    private String phone;

    @NotNull(message = "参数relationship_image_id不能为空")
    private Integer relationship_image_id;

//    @NotEmpty(message = "参数authcode不能为空")
//    private String authcode;

//    @NotEmpty(message = "参数uuid不能为空")
//    private String uuid;

    @NotEmpty(message = "参数name不能为空")
    private String name;

}
